package com.liuwa.knowledge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.liuwa.common.annotation.*;
import com.liuwa.common.core.domain.SortableEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 外研社单词对象 k_fltrp_word
 * 
 * @author liuwa
 * @date 2025-04-03 10:26:26
 */
@ApiModel(description = "外研社单词对象")
public class FltrpWord extends SortableEntity<Integer>{

    private static final long serialVersionUID = 1L;

    /** 单词 */
    @Excel(name = "单词", sort=0)
    @ApiModelProperty(name="word", required = true, value="单词")
    private String word;

    /** 中文 */
    @Excel(name = "中文", sort=10)
    @ApiModelProperty(name="cn", required = true, value="中文")
    private String cn;

    /** 音标 */
    @Excel(name = "音标", sort=20)
    @ApiModelProperty(name="ipa", required = true, value="音标")
    private String ipa;

    /** 教材 */
    @Excel(name = "教材", dictType = "sys_entity_book", sort=30)
    @ApiModelProperty(name="bookId", required = true, value="教材")
    private Integer bookId;

    /** 年级 */
    @Excel(name = "年级", dictType = "grade", sort=40)
    @ApiModelProperty(name="grade", required = true, value="年级")
    private Integer grade;

    /** 模块 */
    @Excel(name = "模块", sort=50)
    @ApiModelProperty(name="module", required = true, value="模块")
    private Integer module;

    /** 单元 */
    @Excel(name = "单元", sort=60)
    @ApiModelProperty(name="unit", required = true, value="单元")
    private Integer unit;

    /** 图片 */
    @Excel(name = "图片", cellType = Excel.ColumnType.IMAGE, sort=70)
    @DefaultValue
    @ApiModelProperty(name="image", required = false, value="图片")
    private String image;

    /** 音频 */
    @Excel(name = "音频", sort=80)
    @DefaultValue
    @ApiModelProperty(name="audio", required = false, value="音频")
    private String audio;

    /** 场景 */
    @Excel(name = "场景", sort=90)
    @DefaultValue
    @ApiModelProperty(name="sentence", required = false, value="场景")
    private String sentence;

    /** 场景翻译 */
    @Excel(name = "场景翻译", sort=100)
    @DefaultValue
    @ApiModelProperty(name="sentenceTrans", required = false, value="场景翻译")
    private String sentenceTrans;

    /** 场景音频 */
    @Excel(name = "场景音频", sort=110)
    @DefaultValue
    @ApiModelProperty(name="sentenceAudio", required = false, value="场景音频")
    private String sentenceAudio;

    /** 难度 */
    @Excel(name = "难度", sort=120)
    @ApiModelProperty(name="difficulty", required = true, value="难度")
    private Integer difficulty;

    /** 出现次数 */
    @ApiModelProperty(name="viewVolume", required = true, value="出现次数")
    private Integer viewVolume;

    /** 正确次数 */
    @ApiModelProperty(name="correct", required = true, value="正确次数")
    private Integer correct;

    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }
    

    public void setCn(String cn) 
    {
        this.cn = cn;
    }

    public String getCn() 
    {
        return cn;
    }
    

    public void setIpa(String ipa) 
    {
        this.ipa = ipa;
    }

    public String getIpa() 
    {
        return ipa;
    }
    

    public void setBookId(Integer bookId) 
    {
        this.bookId = bookId;
    }

    public Integer getBookId() 
    {
        return bookId;
    }
    

    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }
    

    public void setModule(Integer module) 
    {
        this.module = module;
    }

    public Integer getModule() 
    {
        return module;
    }
    

    public void setUnit(Integer unit) 
    {
        this.unit = unit;
    }

    public Integer getUnit() 
    {
        return unit;
    }
    

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    

    public void setAudio(String audio) 
    {
        this.audio = audio;
    }

    public String getAudio() 
    {
        return audio;
    }
    

    public void setSentence(String sentence) 
    {
        this.sentence = sentence;
    }

    public String getSentence() 
    {
        return sentence;
    }
    

    public void setSentenceTrans(String sentenceTrans) 
    {
        this.sentenceTrans = sentenceTrans;
    }

    public String getSentenceTrans() 
    {
        return sentenceTrans;
    }
    

    public void setSentenceAudio(String sentenceAudio) 
    {
        this.sentenceAudio = sentenceAudio;
    }

    public String getSentenceAudio() 
    {
        return sentenceAudio;
    }
    

    public void setDifficulty(Integer difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Integer getDifficulty() 
    {
        return difficulty;
    }
    

    public void setViewVolume(Integer viewVolume) 
    {
        this.viewVolume = viewVolume;
    }

    public Integer getViewVolume() 
    {
        return viewVolume;
    }
    

    public void setCorrect(Integer correct) 
    {
        this.correct = correct;
    }

    public Integer getCorrect() 
    {
        return correct;
    }
    



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("word", getWord())
            .append("cn", getCn())
            .append("ipa", getIpa())
            .append("bookId", getBookId())
            .append("grade", getGrade())
            .append("module", getModule())
            .append("unit", getUnit())
            .append("image", getImage())
            .append("audio", getAudio())
            .append("sentence", getSentence())
            .append("sentenceTrans", getSentenceTrans())
            .append("sentenceAudio", getSentenceAudio())
            .append("difficulty", getDifficulty())
            .append("viewVolume", getViewVolume())
            .append("correct", getCorrect())
            .append("displayIndex", getDisplayIndex())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
